set(CMAKE_CXX_STANDARD 14)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)


find_package(Qt5 COMPONENTS
        Core
        Gui
        Widgets
        Network
        REQUIRED)
add_subdirectory(qrcode)

add_executable(foldershare_qt main.cpp MainWindow.cpp MainWindow.h widgets/TitleBar.cpp widgets/TitleBar.h)
target_link_libraries(foldershare_qt
        Qt5::Core
        Qt5::Gui
        Qt5::Widgets
        Qt5::Network
        qrcode
        )

